<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="ConfirmProfile.aspx.cs" Inherits="Pages_Admin_ConfirmProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="Label1" runat="server" CssClass="header" Text="Confirm Profile Changes"></asp:Label><br />
    <br />
    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label><br />
    <br />
    <asp:GridView ID="gvProfile" runat="server" AutoGenerateColumns="False" DataKeyNames="UserName" DataSourceID="ObjectDataSource1" HeaderStyle-CssClass="smallheader" HeaderStyle-BackColor="#a9c0f2" BorderColor="#556cb0" GridLines="Vertical" Width="560px">
        <Columns>
            <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="True" SortExpression="UserName" />
            <asp:BoundField DataField="FullName" HeaderText="FullName" SortExpression="FullName" />
            <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
            <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
            <asp:BoundField DataField="PhoneNumber" HeaderText="Phone Number" SortExpression="PhoneNumber" />
            <asp:BoundField DataField="BranchName" HeaderText="Branch" SortExpression="BranchName" />
            <asp:TemplateField HeaderText="Agree">
                <ItemTemplate>
                    <asp:CheckBox ID="cboAgree" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Center" BackColor="#A9C0F2" CssClass="smallheader" />
        <AlternatingRowStyle BackColor="Gainsboro" />
        <RowStyle HorizontalAlign="Center" />
    </asp:GridView>
    <br />
    <asp:Button ID="btnConfirm" runat="server" Text="Confirm Changes" OnClick="btnConfirm_Click" OnClientClick='return confirm("Are you sure you have selected accounts to confirm? Unconfirmed accounts will be removed from queue.");' />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAccountsFromQueue"
        TypeName="DALAccount"></asp:ObjectDataSource>
    <br />
</asp:Content>

